#include "hardware_config.h"
#include "app.h"
#define DBG_LOG 0
#if DBG_LOG
extern uint16_t  canVoutSetVal;
uint32_t  dbgCount = 0;
#endif 
int main(void)
{
	Hardware_init(); 

	app_init();
	while (1)
	{  
#if DBG_LOG
		if(dbgCount>0xfff)
		{
			dbgCount = 0;
			dbg_print("rcv broadcast set vout = %d \r\n",canVoutSetVal);
		}
		dbgCount++;
#endif 
		app_loop_func();
	}
} 
